module;
#include <iterator>

export module Code_19_2_4;


template<typename Iter>
auto accum(Iter start, Iter end)
{
    using VT = typename std::iterator_traits<Iter>::value_type;
    VT total{}; // assume this actually creates a zero value
    while (start != end) {
        total += *start;
        ++start;
    }
    return total;
}

export
namespace Code_19_2_4 {

    void run()
    {

    }
}
